package com.yangyu.message;

import lombok.Data;

@Data
public class Page {
    /**
     * 当前页
     */
    private int currentPage;

    /**
     * 每页显示条数
     */
    private int pageSize;

    /**
     * 总数
     */
    private int total;

    public Page(int currentPage, int pageSize, int total) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.total = total;
    }
}
